######################################################################
# COSC1283/1284 - Programming Techniques
# Semester 1 2011 Assignment #2 - Gloria Jean's Coffee system
# Full Name        : LE YAN
# Student Number   : 3262302
# Yallara Username : s3262302
# Course Code      : BP232
# Program Code     : COSC1284
# Start up code provided by Christopher Hoobin and Xiaodong Li
######################################################################

all: gjc

gjc: gjc.o gjc_options.o gjc_utility.o
	gcc -o gjc gjc.o gjc_options.o gjc_utility.o -Wall -ansi -pedantic -gstabs

gjc.o: gjc.c
	gcc -c gjc.c -Wall -ansi -pedantic -gstabs

gjc_options.o: gjc_options.c
	gcc -c gjc_options.c -Wall -ansi -pedantic -gstabs

gjc_utility.o: gjc_utility.c
	gcc -c gjc_utility.c -Wall -ansi -pedantic -gstabs

archive:
	zip $(USER)-a2.zip gjc.c gjc_options.c gjc_utility.c gjc.h gjc_utility.h gjc_options.h makefile gjc_readme.txt
clean:
	rm *.o gjc *.report core

